package com.luchao.back.mapper;

import com.luchao.back.pojo.Receives;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReceivesMapper {

    List<Receives> getReceivesByUserId(Integer ruid);

    int addReceives(Receives receives);

    int editReceives(Receives receives);

    int delReceives(int recid);

    int setMainReceives(Integer recid);

    int setMinorReceives(Integer ruid);
}
